{extend name="layout/main-block" /}

<!-- main content start -->
{block name="content"}
<section id="main-content">
    <section class="wrapper">
        <div class="row">
            <ol class="breadcrumb">
                <li class="h4"><a href="">首页</a></li>
                <li class="h4">账号管理</li>
                <li class="h4">配置角色</li>
            </ol>
        </div>
        <div class="row content-main">
            <div class="col-sm-4">            	
            	{if condition="$str eq ''"}
                <p>暂时没有任何角色</p>            	
                {else /}
                <form class="form-horizontal" action="{:url('account_auth',['id'=>$record.account_id])}" method="post">
                    {$str}
                    <div class="form-group">
                        <div class="col-sm-offset-1">
                            <button type="submit" class="btn btn-primary">配 置</button>
                            <a href="{:url('account')}" role='button' class="btn btn-info">返回列表</a>
                        </div>
                    </div>
                </form>
                {/if}
            </div>
        </div>
    </section>
</section>
{/block}

{block name="javascript"}
{/block}